<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>了解认识el</title>
</head>
<body>

<%
    String username  = "张三";
    pageContext.setAttribute("username",username);
%>

<%--el表达式：${XXXX}.findxxxxx方法

}--%>

<h1 style="width: 100%;text-align: center">了解认识el</h1>


<span style="">
    姓名<%=username%>
</span>

<hr>
<div>
    使用el表达式得到name:${username}
</div>


</body>
</html>
